package com.heima.apis.userService;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.schedule.dtos.Task;
import com.heima.model.user.dtos.ApUserRealnameDto;
import com.heima.model.user.dtos.CommentUserDto;
import com.heima.model.user.dtos.PagingDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @创建人: stone
 * @描述:
 */
@FeignClient("leadnews-user")
public interface IUserServiceClinent {


    @PostMapping("/api/v1/auth/list")
    public ResponseResult getUserRealnameList(@RequestBody ApUserRealnameDto dto);

    @PostMapping("/api/v1/auth/authFail")
    public ResponseResult authFail(@RequestBody ApUserRealnameDto dto);

    @PostMapping("/api/v1/auth/authPass")
    public ResponseResult authPass(@RequestBody ApUserRealnameDto dto);

    @PostMapping("/api/v1/auth/user")
    public ResponseResult getUserRealnameUser(@RequestBody CommentUserDto dto);
}
